<%= table_for @npw do |t|
  t.column :id
  t.column :first_name
  t.column :last_name
  t.column :category
  t.column :year, cell_attrs: {style: ->(row){"color: #{row.year > 1950 ? 'green' : 'red'};"}}
end %>
